#include "aboutdialog.hxx"

aboutdialog::aboutdialog(QWidget* parent, const QString version_string, Qt::WFlags flags)
	: QDialog(parent, flags)
{
	setupUi(this);
	if (!version_string.isEmpty())
		setWindowTitle("About Ogitor " + version_string);
	
	projectBrowser->setSource(QUrl("qrc:/about/project.html"));
	peopleBrowser->setSource(QUrl("qrc:/about/people.html"));
	licenseBrowser->setSource(QUrl("qrc:/about/license.html"));
}

aboutdialog::~aboutdialog()
{
	
}
